package com.wlhse.controller;

import com.wlhse.service.AndroidService;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.*;

import javax.annotation.Resource;


@Controller("FakeController")
@RequestMapping("/api/v1")
public class FakeController {

    @Resource
    private AndroidService androidService;

    @RequestMapping(value = "/anzhuo1", method = RequestMethod.GET, produces = "application/json; charset=utf-8")
    @ResponseBody
    public String returnTasks() {
        return androidService.getAndroidDto();
    }
}
